﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using System.Threading.Tasks;

namespace ifunction.LifeVC.CheckInService
{
    /// <summary>
    /// Interface ILifeVCService
    /// </summary>
    [ServiceContract]
    public interface ILifeVCService
    {
        /// <summary>
        /// Adds the account.
        /// </summary>
        /// <param name="account">The account.</param>
        [OperationContract]
        void AddAccount(LifeVCAccount account);

        /// <summary>
        /// Removes the account.
        /// </summary>
        /// <param name="identity">The identity.</param>
        [OperationContract]
        void RemoveAccount(string identity);

        /// <summary>
        /// Finds the account.
        /// </summary>
        /// <param name="identity">The identity.</param>
        /// <returns>List{LifeVCAccount}.</returns>
        [OperationContract]
        List<LifeVCAccount> FindAccount(string identity = null);
    }
}
